Optimal. Leaf size=85 \[ \frac{\left (a+b x^2\right )^{p+1} \left (c+d x^2\right )^q \left (\frac{b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (p+1,-q;p+2;-\frac{d \left (b x^2+a\right )}{b c-a d}\right )}{2 b (p+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.160307, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15 \[ \frac{\left (a+b x^2\right )^{p+1} \left (c+d x^2\right )^q \left (\frac{b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (p+1,-q;p+2;-\frac{d \left (b x^2+a\right )}{b c-a d}\right )}{2 b (p+1)} \]
Antiderivative was successfully verified.
[In] Int[x*(a + b*x^2)^p*(c + d*x^2)^q,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 27.0313, size = 65, normalized size = 0.76 \[ \frac{\left (\frac{b \left (- c - d x^{2}\right )}{a d - b c}\right )^{- q} \left (a + b x^{2}\right )^{p + 1} \left (c + d x^{2}\right )^{q}{{}_{2}F_{1}\left (\begin{matrix} - q, p + 1 \\ p + 2 \end{matrix}\middle |{\frac{d \left (a + b x^{2}\right )}{a d - b c}} \right )}}{2 b \left (p + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(b*x**2+a)**p*(d*x**2+c)**q,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.115828, size = 84, normalized size = 0.99 \[ \frac{\left (a+b x^2\right )^p \left (c+d x^2\right )^{q+1} \left (\frac{d \left (a+b x^2\right )}{a d-b c}\right )^{-p} \, _2F_1\left (-p,q+1;q+2;\frac{b \left (d x^2+c\right )}{b c-a d}\right )}{2 d (q+1)} \]
Antiderivative was successfully verified.
[In] Integrate[x*(a + b*x^2)^p*(c + d*x^2)^q,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.08, size = 0, normalized size = 0. \[ \int x \left ( b{x}^{2}+a \right ) ^{p} \left ( d{x}^{2}+c \right ) ^{q}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(b*x^2+a)^p*(d*x^2+c)^q,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + a\right )}^{p}{\left (d x^{2} + c\right )}^{q} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^p*(d*x^2 + c)^q*x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x^{2} + a\right )}^{p}{\left (d x^{2} + c\right )}^{q} x, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^p*(d*x^2 + c)^q*x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(b*x**2+a)**p*(d*x**2+c)**q,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + a\right )}^{p}{\left (d x^{2} + c\right )}^{q} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^p*(d*x^2 + c)^q*x,x, algorithm="giac")
[Out]